Auto-generation of Model Visitor Frameworks
نویسنده
چکیده
The visitor pattern, a well known Gang of Four design pattern, provides a suitable way to add operational behaviour to models. However, as soon as the number of metamodels and visitor implementations start to grow, some of the pattern shortcomings make its usage less convenient. This paper presents how the synergy between the Visitor pattern and MDE has been addressed by two open source projects: Eclipse OCL and QVTd. As a result, a visitors framework generator is proposed to alleviate some of the visitor pattern shortcomings.
منابع مشابه
A Switchgrass-based Bioethanol Supply Chain Network Design Model under Auto-Regressive Moving Average Demand
Switchgrass is known as one of the best second-generation lignocellulosic biomasses for bioethanol production. Designing efficient switchgrass-based bioethanol supply chain (SBSC) is an essential requirement for commercializing the bioethanol production from switchgrass. This paper presents a mixed integer linear programming (MILP) model to design SBSC in which bioethanol demand is under auto-r...
متن کاملUse Density, Visitor Experience, and Limiting Recreational Use in Wilderness: Progress to Date and Research Needs
Recent increases in demand have revitalized interest and controversy surrounding use limits and the effect of visitor density on wilderness experiences. A workshop held in Missoula, Montana, in June of 2000 addressed the potential for social science to contribute to understanding and managing increasingly populated wilderness conditions. Scientists identified progress in our understanding of us...
متن کاملDigging into the Visitor Pattern
In this paper we present an alternative to the VISITOR pattern, DYNAMIC DISPATCHER, that can be applied to extend existing software in a nonintrusive way, and which simulates covariant overriding of visit methods. It allows to express polymorphic operations through visitor classes in a more natural way than the original VISITOR pattern. Our solution DYNAMIC DISPATCHER can be applied without tou...
متن کاملLoop Transformation Recipes for Code Generation and Auto-Tuning
In this paper, we describe transformation recipes, which provide a high-level interface to the code transformation and code generation capability of a compiler. These recipes can be generated by compiler decision algorithms or savvy software developers. This interface is part of an auto-tuning framework that explores a set of different implementations of the same computation and automatically s...
متن کاملDemand Response Based Model for Optimal Decision Making for Distribution Networks
In this paper, a heuristic mathematical model for optimal decision-making of a Distribution Company (DisCo) is proposed that employs demand response (DR) programs in order to participate in a day-ahead market, taking into account elastic and inelastic load models. The proposed model is an extended responsive load modeling that is based on price elasticity and customers’ incentives in which they...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
عنوان ژورنال:
دوره شماره
صفحات -
تاریخ انتشار 2015